package com.bootdo.appsystem.service;

import com.bootdo.appsystem.domain.UserdetailsDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author xiaoxiao
 * @email 806191255@qq.com
 * @date 2018-05-12 14:42:14
 */
public interface UserdetailsService {
	
	UserdetailsDO get(Integer id);
	
	List<UserdetailsDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserdetailsDO userdetails);
	
	int update(UserdetailsDO userdetails);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	/**
	 * 根据uid查找用户身份及手机信息等
	 * @param uid 用户id
	 * @return
	 */
	UserdetailsDO getByUid(Integer uid);
}
